<script setup>
const model=defineModel()
const prop=defineProps({
    label:{
        type:String,
        default:''
    }
})
</script>

<template>
    <div class="flex">
        <div class="label" v-noselect>{{ label }}:</div>
        <div class="input"><el-input v-model="model"></el-input></div>
    </div>
</template>

<style scoped lang="less">
.flex{
    justify-content: space-between;
    margin-top: 10px;
}
.label{
    width:20%;
    min-width: 120px;
    line-height: 32px;
    margin-right: 10px;
    text-align: right;
}
.input{
    width: 100%;
}
</style>